//
//  NSDate+LYAdd.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/26.
//

#import <Foundation/Foundation.h>

@interface NSDate (LYAdd)

+ (NSDate *)dateWithComponents:(void (^)(NSDateComponents *cmp))maker;

- (BOOL)isEarlierThan:(NSDate *)date usingFormatString:(NSString *)fmtString;
- (BOOL)isLaterThan:(NSDate *)date usingFormatString:(NSString *)fmtString;

- (dispatch_time_t)wallTime;

@end
